home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / X11 / XCreateRegion.z / XCreateRegion
Encoding:
Text File  |  2002-10-03  |  2.0 KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXCCCCrrrreeeeaaaatttteeeeRRRReeeeggggiiiioooonnnn((((3333XXXX11111111))))XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....6666)))) XXXXCCCCrrrreeeeaaaatttteeeeRRRReeeeggggiiiioooonnnn((((3333XXXX11111111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XCreateRegion, XSetRegion, XDestroyRegion - create or
  10.           destroy regions
  11.  
  12.      SSSSYYYYNNNNTTTTAAAAXXXX
  13.           Region XCreateRegion()
  14.  
  15.           XSetRegion(_d_i_s_p_l_a_y, _g_c, _r)
  16.                 Display *_d_i_s_p_l_a_y;
  17.                 GC _g_c;
  18.                 Region _r;
  19.  
  20.           XDestroyRegion(_r)
  21.                 Region _r;
  22.  
  23.      AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  24.           _d_i_s_p_l_a_y   Specifies the connection to the X server.
  25.  
  26.           _g_c        Specifies the GC.
  27.  
  28.           _r         Specifies the region.
  29.  
  30.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  31.           The _X_C_r_e_a_t_e_R_e_g_i_o_n function creates a new empty region.
  32.  
  33.           The _X_S_e_t_R_e_g_i_o_n function sets the clip-mask in the GC to the
  34.           specified region.  The region is specified relative to the
  35.           drawable's origin.  The resulting GC clip origin is
  36.           implementation-dependent.  Once it is set in the GC, the
  37.           region can be destroyed.
  38.  
  39.           The _X_D_e_s_t_r_o_y_R_e_g_i_o_n function deallocates the storage
  40.           associated with a specified region.
  41.  
  42.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  43.           XEmptyRegion(3X11), XIntersectRegion(3X11)
  44.           _X_l_i_b - _C _L_a_n_g_u_a_g_e _X _I_n_t_e_r_f_a_c_e
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.